package com.szrt.java.day20161230.demo05;


/**
 * 父类
 * @author zsrt
 *
 */
public class Person05 {
	
	
	private String name;
	
	private int age;

	
	
	
	public Person05(String name, int age) {
		System.out.println("调用父类有参的构造方法....");
		this.name = name;
		this.age = age;
	}
	
	

	public Person05() {
		
	}



	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
	
	
	
	

}
